package com.intellagric.mapper;

import com.intellagric.pojo.TraceProcess;
import com.intellagric.pojo.TraceProcessExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceProcessMapper {
    long countByExample(TraceProcessExample example);

    int deleteByExample(TraceProcessExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceProcess record);

    int insertSelective(TraceProcess record);

    List<TraceProcess> selectByExample(TraceProcessExample example);

    TraceProcess selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceProcess record, @Param("example") TraceProcessExample example);

    int updateByExample(@Param("record") TraceProcess record, @Param("example") TraceProcessExample example);

    int updateByPrimaryKeySelective(TraceProcess record);

    int updateByPrimaryKey(TraceProcess record);
}